package com.shenmazong.servertalkmarket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shenmazong.pojo.TbAdmin;
import com.shenmazong.utils.ResponseResult;

public interface MarketService {
    ResponseResult addMarketMessage(Integer userId, String message);
    ResponseResult delMarketMessage(Integer userId, Integer msgId);
    ResponseResult publishMarketMessage(Integer userId, Integer msgId);
    ResponseResult getMarketMessage();
    ResponseResult addMarketCoupon(Integer userId, Integer teacherId, Long price, Integer classCount);
    ResponseResult grabMarketClass(Integer userId);
    ResponseResult getMarketClassByPage(Integer userId);

    ResponseResult doBeginGrab(Integer userId);

}
